﻿<Window x:Class="VisualPoint.Controls.Views.WindowsConfigurationsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="WindowsConfigurationsWindow" Height="300" Width="300" WindowStartupLocation="CenterScreen" ShowInTaskbar="False" Topmost="True">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <TextBlock Text="Configurations" 
			Grid.Row="1" Grid.Column="0"/>
        <ListBox x:Name="configuration" 
                 ItemsSource="{Binding Model.Configurations}" SelectedValue="{Binding Model.SelectedValue}" 
                 Height="150" Grid.Row="1"  Grid.Column="1" />

        <Button Click="Create_Click" Grid.Row="3"  Grid.Column="0">
            <TextBlock Text="Create"/>
        </Button>

        <StackPanel Grid.Row="3"  Grid.Column="1" Orientation="Horizontal">
            <Button Click="Delete_Click"
                 Width="100">
                <TextBlock Text="Delete"/>
            </Button>
            <Button Click="Update_Click"
                 Width="100">
                <TextBlock Text="Update"/>
            </Button>
        </StackPanel>

        <TextBlock Text="{Binding Message}" 
			Grid.Row="5" Grid.Column="1"/>

        <StackPanel Grid.Row="6"  Grid.Column="1" Orientation="Horizontal">
            <Button Click="Ok_Click"
                 Width="100">
                <TextBlock Text="Ok"/>
            </Button>
        </StackPanel>

        
    </Grid>
</Window>
